package sg.edu.nus.iss.pacman.dao;

/**
 * A DAO interface for Maze
 * 
 * @author Daniel
 *
 */
public interface MazeDao {

	/**
	 * Finds Maze by ID
	 * 
	 * @param id id
	 * @return Maze
	 */
	public Maze findMaze(String name);

	/**
	 * Saves Maze
	 * 
	 * @param maze maze
	 * @return ID 
	 */
	public int saveMaze(Maze maze);

	/**
	 * Deletes a Maze
	 *  
	 * @param id ID
	 */
	public void deleteMaze(String name);

	/**
	 * Gets all Mazes
	 * 
	 * @return array of Mazes
	 */
	public Maze[] getMaze();
}
